/**
 * File:   NetNodeRow.java
 * Author: Gvennet
 */
package scenarios.net;

import dht.identifier.identifier.Identifier;


/**
 * todo write javadoc
 */
public final class NetNodeRow
{

	private final Identifier id;

	private final int port;

	private boolean active;

	public NetNodeRow(Identifier id, int port, boolean active)
	{
		this.id = id;
		this.port = port;
		this.active = active;

	}

	public Identifier getId()
	{
		return id;
	}

	public int getPort()
	{
		return port;
	}

	public boolean isActive()
	{
		return active;
	}

	public void setActive(boolean active)
	{
		this.active = active;
	}
}